home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DOSIMP12.ARJ / SIMPLY1.HYP < prev    next >
Text File  |  1992-01-16  |  60KB  |  1,213 lines

  1.                             |Tby Kari M. Jackson|T
  2.  
  3.                     |TDDDDDD         OOOO        SSSS  |T
  4.                     |TDD    DD     OO    OO    SS    SS|T
  5.                     |TDD     DD   OO      OO  SS       |T
  6.                     |TDD      DD  OO      OO   SS      |T
  7.                     |TDD      DD  OO      OO     SSS   |T
  8.                     |TDD      DD  OO      OO        SS |T
  9.                     |TDD     DD   OO      OO         SS|T
  10.                     |TDD    DD     OO    OO   SS    SS |T
  11.                     |TDDDDDD         OOOO       SSSS   |T
  12.                     (Disk)     (Operating)   (System)
  13.  
  14.                                |TSimply Said,|T
  15.  
  16.                                |TSimply Done,|T
  17.  
  18.                                |TSIMPLY EASY!|T
  19.   |TVersion 1.2|T                                                   |T(c)1991|T
  20.                   <page down> for instructions and menu
  21.                   INSTRUCTIONS |nFOR|n NAVIGATING THIS BOOK
  22. Hotspots--highlighted words  which take you to their target  when you put
  23. your cursor on them and hit <Enter>.
  24. Targets--the part of the text that explains a word in a hotspot.
  25. <PageUp> and <PageDown> keys--take you through the book a page at a time.
  26. <Arrow> keys--move from hotspot to hotspot on the same page.
  27. <Letter> keys--move to a hotspot on the page starting with that letter.
  28. <Enter> key--takes you to the target of whatever hotspot you're on.
  29. <Ctrl-Enter> keystroke--returns you to where you last hit <Enter>.
  30. <Home> key--takes you to the point where you entered the |ncurrent|n file.
  31. <Ctrl-PageUp> keystroke--takes you to the first page of the |ncurrent|n file.
  32. <Ctrl-Home> keystroke--takes you to the title page of the book, where you
  33. are only two <PageDown>s away from the Main Menu.
  34. <Esc> key--exits the book.
  35. <Ctrl-/> keystroke--exits the book and if you're using the TSR version of
  36. the Hypertext reader,  it saves your spot so that the next time you enter
  37. the book, you'll be at that spot rather than at the title page.
  38. WORDS ON THE MENU WHICH HAVE » NEXT TO THEM ARE THE FIRST ONES YOU SHOULD
  39. READ.  WORDS WITH φ ARE DANGEROUS--DON'T USE THEM UNTIL YOU'VE READ THEM!
  40.                            <page down> for menu
  41.   -=|sWhat Is DOS?|s=-                               -=|sAbout This Program|s=-
  42.                                                               ╔═════════╗
  43.  φ APPEND     |sDATE|s/|sTIME|s φ FDISK       |sMKDIR|s/MD   » SHARE      ║ DOS 5.0 ║
  44.  φ ASSIGN   φ DEBUG       FILES       MODE       » SHELL      ╚═════════╝
  45.    ATTRIB     |sDEL|s/|sERASE|s   FIND        MORE         SHIFT      DEVICEHIGH
  46.  » BACKUP     DEVIC|1E      FOR         NLSFUNC      SORT       DO|1S
  47.  φ BREAK      DIR         FORMAT    » PATH         STACKS   » DOSKEY
  48.    BUFFERS    DISKCOMP    GOTO        PAUSE      φ SUBST      EDIT
  49.    CALL       DISKCOPY    GRAFTABL    PRINT        SWITCHAR   EMM386
  50.    CHCP       DOSSHELL    GRAPHICS    PROMPT       SWITCHES   EXPAND
  51.    |sCHDIR|s/CD   DRIVPARM    GWBASIC   φ RECOVER      SY|1S        HELP
  52.  » CHKDSK     ECHO        IF          REM          TREE       LOADFIX
  53.    CLS        EDLIN       INSTALL     |sRENAME|s/REN   TRUENAME   |sLOADHIGH|s/LH
  54.    COMMAN|1D    EXE2BIN   φ JOIN        REPLACE      TYPE       MIRROR
  55.    COMP       EXIT        KEYB        RESTORE      VER        QBASIC
  56.    COPY     φ FASTOPEN    LABEL       |sRMDIR|s/RD   φ VERIFY     SETVER
  57.    COUNTRY    FC          LASTDRIVE   SELECT       VOL        UNDELETE
  58.  φ CTTY       FCBS        MEM         SET          XCOPY    φ UNFORMAT
  59.  
  60.                        <page down> for more subjects
  61.   » Memory
  62.     ══════                                               » Disks
  63.     Conventional        Special Files                      ═════
  64.     EMS                 ═════════════                      Bad Sector
  65.     Expanded          » ". and .."     External          » Boo|1t Disk
  66.     Extended            *.*            FAT                 Cluster
  67.     Hig|1h                ANSI.SYS       Hidden              Floppy
  68.     HMA                 ASCII          HIMEM.SYS           Fragmented
  69.     Kernel            » AUTOEXEC.BAT   IBMBIO.COM          Logical Drives
  70.     LIM               » Batch          IBMDOS.COM          Low-Level
  71.     Protected Mode    » COMMAND.COM    Internal            Media
  72.     RAM               » CONFIG.SYS     IO.SYS              Optimizer
  73.     Real Mode           Device Driver  MSDOS.SYS         » Park
  74.     Reserved          » Directory      Overlay             Partition
  75.     ROM                 DRIVER.SYS     RAMDRIVE.SYS        RAMdisk
  76.     Shadow              EGA.SYS        SMARTDRV.SYS        Sector
  77.   » TSR               » Executable     VDISK.SYS           Slack Space
  78.     UMB                                                    Virtual Disk
  79.     Upper                                                  Volume
  80.     XMS               <page down> for more subjects      » Write-Protect
  81.  
  82.  
  83.     Software Distribution     Error Messages                » Device|1s
  84.     ═════════════════════     ══════════════                  ═══════
  85.     BBS                       Abort, Retry, Fail, Ignore      AUX
  86.     Commercial                Access Denied                   CLOCK$
  87.     Demo                      Bad Command or Filename         COM1
  88.     Downloading               Disk Full                       CON
  89.     Freeware                  File Creation Error             LPT1
  90.     Public Domain             Incorrect DOS Version           NUL
  91.   » Shareware                 Insufficient Disk Space         PRN
  92.                               Invalid COMMAND.COM
  93.     Environment               Invalid Drive Specification     Precautions
  94.     ═══════════               Non System Disk                 ═══════════
  95.     COMSPEC                   Packed File Corrupt           » Cleaning
  96.     DIRCMD                    Sector Not Found              » Magnetism
  97.     TEMP                      Track 0 Bad                   » Power
  98.  
  99.  
  100.                       <page down> for more subjects
  101.  
  102.  
  103.                                           » A|1:               Filter
  104.                                             Archive          Handles
  105.     CPU                                   » Attributes     » Keyboard
  106.     ═══            Numbering Systems      » Boot             Macros
  107.     8088           ═════════════════        Bytes            NOT
  108.     XT             Binary                 » C|1:             » Parameters
  109.     286            Decimal                  Cache            Parent
  110.     AT             Hexadecimal              Checksum         Piping
  111.     386                                     Code Page        Queue
  112.     BIOS                                  φ Concatenation    Reboot
  113.   » CMOS                                    Current        » Redirection
  114.     Interrupt                               Default          Replaceable
  115.     POST                                  » Editing Keys     Root
  116.     Setup                                   ERRORLEVEL     » Shelling Out
  117.                                             EXIST            Spooler
  118.                                                            » Wildcards
  119.  
  120.                               -=|sTrademarks|s=-
  121.                             |TAbout This Program|T
  122.  
  123. This "book" is dedicated  to all the Computer Club members on the Prodigy
  124. Online Service who always made me feel so good,  by thanking me so heart-
  125. ily for my help with their DOS problems.   (You know who you are!)   This
  126. is my way of saying  "You're welcome!"   And to all those  who suggested,
  127. told, or begged me to write this, I hope it meets your expectations.
  128.  
  129. The text is all my own, of course,  but the Hypertext reader you're using
  130. to read this,  and the Hypertext compiler I used to put it together, is a
  131. piece of shareware written by Derek Gitelson of Sansaska Systems.
  132.  
  133. It's really fun to write Hypertext.   Much more fun than just typing on a
  134. word processor,  because  from the results,  you can almost  pretend that
  135. you're actually "programming" or something.   Really, if you look at this
  136. file with a browser, you'll see that it's just plain text with a few con-
  137. trol characters like ||t and ||n to tell the compiler which words are to be
  138. used as "targets",  and which are to be  highlighted as "hotspots"  which
  139. take you to the target  when you put your cursor on them and hit <Enter>.
  140.                  <page down> for more About This Program
  141. Well, once you have the text written and the control characters inserted,
  142. the compiler takes care of all the hard work,  doing all the indexing and
  143. everything.   Then all you have to do  is proofread it  about six hundred
  144. times.  Except for that part, it's fun.
  145.  
  146. So if you'd like to do a little Hypertext writing yourself,  may I recom-
  147. mend Mr. Gitelson's program,  HeLPyoURSeLF.   You can probably find it on
  148. your local BBS,  or you can fill out his registration form  that I've in-
  149. cluded  in the documentation  for this program,  and send the form  along
  150. with $20 + $2.50 shipping and handling,  to Mr. Gitelson,  and he'll send
  151. you  a registered copy  of his program.   Or,  you can just send it to me
  152. along with your order  for a registered copy of my "book",  and I'll for-
  153. ward it to him immediately.
  154.  
  155. Special thanks to Derek Gitelson for allowing me to license his Hypertext
  156. program, to Cheryl Palardy for suggesting the title that I finally decid-
  157. ed on, and to my "beta testers" (proofreaders),  Chris Alumbaugh of Rock-
  158. ford IL,  Roy Patton  of Dallas TX,  Wayne Strang  of Torrance CA, and my
  159. mentor, Stan MacDonald of Omaha NE.
  160.                  <page down> for more About This Program
  161. In case you've somehow lost the README.BAT  file that came with this pro-
  162. gram, here's how to register.   For this "book",  send $25 + $4 for ship-
  163. ping,  and $1.63 for 6.5% sales tax if you're in Nebraska,  to Kari Jack-
  164. son, 3201 Monroe, Omaha NE, 68107-4048  and tell me what size and density
  165. of disk you need, and whether you want the printable text version as well
  166. as the normal Hypertext one.
  167.  
  168. If you want to order  the Hypertext compiler,  send $20 + $2.50 for ship-
  169. ping,  and $1.40 for  7% sales tax  if you're in California,  to Sansaska
  170. Systems, 3311 Concord Blvd, Concord CA, 94519  and of course let him know
  171. also what size disk you need.   These prices are |ncurrent|n as of  01/92 but
  172. are subject to change  in the future.   Mr. Gitelson is offering his pro-
  173. gram at $5 off  the normal price,  to purchasers of  both this "book" and
  174. his Hypertext program, so be sure to let him know that you're ordering it
  175. through me so that he knows why you're only sending $20 instead of $25.
  176.  
  177.  
  178.  
  179.  
  180.                         <page down> for |nTrademarks|n
  181.                                 |TTrademarks|T
  182.  
  183. The following products  are |ntrademarks|n,  registered |ntrademarks|n,  or copy-
  184. rights of their respective companies:
  185.           4DOS--JP Software
  186.           8086, 8088, 286, 386, 486, 586--Intel
  187.           ANSI--American National Standards Institute
  188.           ASK, CAPSLOCK, HIDE, PC/Computing--Ziff-Davis Publishing
  189.           BROWSE, KEY-FAKE, PC Magazine--Ziff-Davis Publishing
  190.           COMPAQ--COMPAQ Computer
  191.           CompuServe--H&R Block
  192.           EMS, |sLIM|s--Lotus Development, Intel, and Microsoft
  193.           Epson--Epson America
  194.           EXPLOSIV--Reidar Gresseth and Chris Hook
  195.           GW-BASIC, MS-DOS--Microsoft
  196.           Hayes--Hayes Microcomputer Products
  197.           HeLPyoURSeLF--Sansaska Systems
  198.           HISTORY--Bryan Higgins
  199.           Kaypro--Kaypro
  200.                      <page down> for more Trademarks
  201.           Manifest, QRAM--Quarterdeck Office Systems
  202.           MARK and RELEASE--TurboPower Software
  203.           NANSI--Daniel Kegel
  204.           Norton Utilities--Peter Norton Computing
  205.           PC, XT, AT, PC-DOS, IBM-DOS--International Business Machines
  206.           PC Tools--Central Point Software
  207.           PKZIP, PKUNZIP, PKZIPFIX--PKWARE
  208.           Prodigy--Prodigy Services
  209.           QEMM, VIDRAM--Quarterdeck Office Systems
  210.           SpinRite--Gibson Research
  211.           TIMEPARK--Alpha Computer Service
  212.           UNIX--AT&T Bell Laboratories
  213.           ViruScan--McAfee Associates
  214.           WordStar--MicroPro International
  215.           |sXMS|s--Lotus Development, Intel, Microsoft, and AST Research
  216.           Zenith--Zenith Electronics
  217.           ALIAS, CED, and any other names,  are from various other share-
  218. ware/|sfreeware|s/|spublic domain|s/|scommercial|s software authors.
  219.  
  220.                      <page down> for more Trademarks
  221. If I've left anyone out, it certainly was not intentional, and I hope you
  222. will forgive me,  as well as  letting me know  so that I can  correct the
  223. problem in my next release!
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.                        <page down> for |nWhat Is DOS?|n
  241.                                |TWhat Is DOS?|T
  242.  
  243. DOS stands for  Disk Operating System.   It's a bunch of files on a disk,
  244. that tell the computer how to deal  with such things as files,  programs,
  245. disks, and directories.  The main parts of DOS, meaning the Hidden files,
  246. along with  the file COMMAND.COM,  have to be loaded  into the computer's
  247. memory each time  you turn on the power,  or else the computer won't know
  248. how to do anything.  As long as you have a proper boo|1t disk, this loading
  249. of DOS  into memory is handled  for you automatically  by a tiny software
  250. program which is permanently stored in the computer on a ROM chip.  Until
  251. DOS is loaded into memory,  the computer has no idea  how to do anything,
  252. other than  load DOS into memory.   Computers are totally stupid  until a
  253. software program  tells them what to do.   Well DOS  is the main software
  254. program that the computer needs,  in order to know  how to deal with  any
  255. other software program.
  256.  
  257. Well that's what DOS is as far as the computer is concerned.  But what is
  258. DOS to you?   DOS is what lets you organize your files, and optimize your
  259. system to make it run the way you want it to run.
  260.                     <page down> for more What Is DOS?
  261. A file is just the method  that DOS uses to store  information on a disk.
  262. All of your programs are made up of files, and all the data you enter in-
  263. to your programs  is stored as files.   If you write a letter  using your
  264. word processor,  and you save that letter to disk,  you have to give it a
  265. filename, and then your word processor will tell DOS to write your letter
  266. to the disk, under that filename.
  267.  
  268. You see, DOS acts as an interpreter between you and the computer, and be-
  269. tween your word processor  or other applications  and the computer.   DOS
  270. will let you or your applications create files,  move files,  copy files,
  271. rename files,  organize files  into a directory,  and all sorts  of great
  272. things like that.   Most of the DOS commands are even pretty straightfor-
  273. ward as to what they are named.  For example, the command you use to copy
  274. a file to a different location is COPY.  The command to erase a file from
  275. your disk is ERASE.   In order to move a file, you use those two commands
  276. together.   First you copy the file to a different location, and then you
  277. erase the original.  DOS doesn't give us a separate MOVE command, so that
  278. in case  something goes wrong  with the  COPY command,  the original file
  279. won't automatically  get deleted.   If you receive an error message  from
  280.                     <page down> for more What Is DOS?
  281. the COPY command,  you can figure out  what the problem was,  correct the
  282. problem, and make a good copy of the file, before you erase the original.
  283.  
  284. Now you have to be careful  and always take a look at  what you've typed,
  285. before you hit the  <Enter> key,  because DOS will  do what you say,  not
  286. what you mean.   There's a standing joke  in the computer world about how
  287. someone should put a DWIM (Do What I Mean) key onto a keyboard.   There's
  288. another joke  about an UNDO key.   But those keys don't exist.   DOS does
  289. exactly  what you tell it to do,  even if that  wasn't what  you meant to
  290. tell it, and in most cases you can't undo it after it's been done.
  291.  
  292. One thing that causes a lot of confusion among new computer users is mix-
  293. ing up the / and \ keys.   They have separate uses, and if you hit / when
  294. DOS wants to see \, that won't work.  The \ (backslash) is for separating
  295. directory names, and the / (forward slash) is for switch parameters.
  296.  
  297. DOS lets you customize your system to your own taste,  by using the files
  298. called  CONFIG.SYS and  AUTOEXEC.BAT.   These are  just plain  ASCII text
  299. files  that contain commands  that you want to  have performed every time
  300.                     <page down> for more What Is DOS?
  301. you turn on the computer.  There are tons of commands that you can use in
  302. these two files,  to make the computer run  the way you  want it  to run.
  303. You can also use DOSKEY macros,  or batch files,  to make the computer do
  304. things that you want it to do,  for which separate commands don't already
  305. exist.  You use EDLIN or COPY CON or any editor to create these files.
  306.  
  307. There are just so many things that you can do with DOS, that you can't do
  308. if you don't know how to work with DOS.   Lots of people  think that it's
  309. not necessary to know anything  about DOS in order to make a computer go.
  310. Well, that's true,  up to a point,  but when something goes wrong,  those
  311. people  have to call someone else  to fix it.   People who know DOS don't
  312. have to do that.   In fact,  people who know DOS  are going to have fewer
  313. things go wrong in the first place, because they know what to do in order
  314. to keep things  from going wrong.   Well,  that's the whole point of this
  315. "book",  is that  knowing how to use  DOS is going to make  your computer
  316. life a whole lot easier,  more enjoyable,  and more productive.   So read
  317. on!
  318.  
  319.  
  320.                    <page down> for The |nUNDELETE|n Command
  321.                            The |tUNDELETE|t Command
  322.  
  323. This command is new to DOS version 5.0, but it's been around for a while.
  324. Microsoft licensed it  from Central Point Software,  the publishers of PC
  325. Tools.  It does just what its name implies.
  326.  
  327. First of all,  the DEL  and ERASE  commands have never deleted any of the
  328. data in your files.   All they do is  erase the FAT entry,  and the first
  329. letter of the filename in the directory entry.  They don't even touch the
  330. file.   Well the directory entry  tells the location of  the beginning of
  331. the file,  so all that's  missing after a file  has been deleted,  is the
  332. first letter of the filename, right?   That should be really easy to fix.
  333. Wrong.  Because the directory entry tells the location of only the begin-
  334. ning of the file, not all the other little pieces of a file.  That's what
  335. the FAT does.   It tells the location  of all the other parts of the file
  336. after the first.  This is especially important for fragmented files!
  337.  
  338. Well,  if you've been running the MIRROR program with its deletion track-
  339. ing TSR,  then it's been saving a record of the FAT and directory entries
  340.                       <page down> for more UNDELETE
  341. for every file you've deleted.   So as long as neither you,  nor DOS, nor
  342. any other program  has written any data,  including the temp files caused
  343. by the DOSSHELL or any redirection operations involving the || symbol,  to
  344. the spot on the disk  where that file was,  then the |nUNDELETE|n command can
  345. easily, immediately, and perfectly restore any file you delete.
  346.  
  347. Even if you weren't running  |sMIRROR|s's delete tracker,  as long as no data
  348. has been written  on top of the deleted file,  the |nUNDELETE|n command has a
  349. chance of being able to work.  As long as the file was not fragmented, it
  350. will be able to restore everything  except the first letter  of the file-
  351. name.  But if the file was fragmented, you're in trouble.  If the file in
  352. question is on a floppy disk,  make a DISKCOPY of it and see what the UN-
  353. DELETE command  can do for you,  but only on the copy,  not the original.
  354. If it doesn't work,  you still have  the original  so you can  take it to
  355. someone who knows more about manual undeletion than you do.
  356.  
  357. But if you have created any new files in that directory, since you delet-
  358. ed the file,  then that  deleted file's  directory entry  has most likely
  359. been reused for the new file,  and there's no way you'll get  the deleted
  360.                       <page down> for more UNDELETE
  361. file back then,  unless you  were running  |sMIRROR|s's  delete tracking TSR.
  362. And remember that just because you haven't created any new files, doesn't
  363. mean that DOS hasn't, or that your applications haven't.   Temp files are
  364. created and deleted all the time, and you usually aren't aware of it.  So
  365. the longer  it's been since  the file was deleted,  the lower the chances
  366. that it can be undeleted.
  367.  
  368. Think long and hard  whenever you're about to use the RMDIR command,  be-
  369. cause the |nUNDELETE|n command  cannot bring back  a directory,  or any files
  370. that were in a directory after it's been |sRMDIR|sed.   If the directory is a
  371. branch right off the root directory,  then the UNFORMAT command  might be
  372. able to get it back,  and then you could  use the |nUNDELETE|n command to re-
  373. trieve the files  that were in that directory.   But it's not a good idea
  374. to go around using the UNFORMAT command just for one directory.  It could
  375. do more harm than good.
  376.  
  377. Here's the syntax for this command:
  378.           |nUNDELETE|n D:\DIR\FILENAME.EXT /ALL /DOS /DT /LIST
  379. If you leave out the file specification there,  then the command will un-
  380.                       <page down> for more UNDELETE
  381. delete all the deleted files in the current directory.
  382.  
  383. The /LIST switch  doesn't  |nundelete|n any files.   It just shows you  which
  384. files are available for undeletion,  depending on whether you specify the
  385. /DOS or /DT switch with the /L one.
  386.  
  387. The /ALL switch  just goes right ahead  and undeletes  all the files that
  388. there are to be undeleted, without asking for permission or anything.  If
  389. there is  no delete tracking file to help,  it will put a # sign in place
  390. of the first character in each filename,  and you can use the RENAME com-
  391. mand to give the files back their real names.
  392.  
  393. The /DOS switch  tells |nUNDELETE|n to  ignore any  delete tracking file  and
  394. just do what it can  from the information in the deleted file's directory
  395. entry.
  396.  
  397. The /DT switch  undeletes only the files that have information stored for
  398. them in the deletion tracking file.
  399.  
  400.                       <page down> for more UNDELETE
  401. If you don't specify any of these switches, the |nUNDELETE|n command will use
  402. the delete tracker file if it exists, otherwise it will try the DOS meth-
  403. od with just the directory entry to go on.
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.                    <page down> for The |nUNFORMAT|n Command
  421.                            The |tUNFORMAT|t Command
  422.  
  423. This command is new to DOS version 5.0, but it's been around for a while.
  424. Microsoft licensed it  from Central Point Software,  the publishers of PC
  425. Tools, where its name was REBUILD.  It does just what its name implies.
  426.  
  427. In order for  the |nUNFORMAT|n command  to work,  the disk it's being used on
  428. needs to have been formatted  by the DOS version 5.0 FORMAT command,  and
  429. without the /U switch.   Because this new safe FORMAT command runs MIRROR
  430. on the disk before it formats,  to save a copy  of the root directory and
  431. FAT in the |nMIRROR|n.FIL file.   (You won't need to have the |nMIRROR|n.COM file
  432. available though,  because the applicable parts  of |sMIRROR|s's code are in-
  433. side the |nFORMAT|n.COM file.)  You won't be able to see that |nMIRROR|n.FIL file
  434. on the disk,  but unless you used  the /U switch with the FORMAT command,
  435. and unless you formatted the disk to a different capacity than it was or-
  436. iginally formatted at,  then it will be there.   And the |nUNFORMAT|n command
  437. will be able to use that little file  to put the disk back to exactly the
  438. way it was before you accidentally formatted it.  Even if you did use the
  439. /U switch with the FORMAT command, if you have used the MIRROR command on
  440.                       <page down> for more UNFORMAT
  441. that disk very recently,  there's a good chance that the |nUNFORMAT|n command
  442. will be able to help you.
  443.  
  444. The |nUNFORMAT|n command can also undo the horrors caused by the RECOVER com-
  445. mand when it's been used on a whole disk or directory  instead of only on
  446. one file at a time  like the poor misunderstood RECOVER command  is meant
  447. to be used.   Also,  |nUNFORMAT|n can undo a DEL \*.* which means deletion of
  448. all the files in the root directory.   And finally, if you have ever used
  449. the MIRROR /PARTN command and still have the floppy disk that information
  450. was saved to,  then |nUNFORMAT|n can restore the partition table on your hard
  451. drive, which is what needs to be done if you suddenly start receiving the
  452. message "|tInvalid drive specification|t" for no apparent reason.
  453.  
  454. Just be careful with the |nUNFORMAT|n command!  Don't go using it at the drop
  455. of a hat.   It is there for the purpose of recovering from a major disas-
  456. ter, not just for playing around with.  It doesn't always work perfectly,
  457. so if you use it on a small mistake  you could end up in worse shape than
  458. you already were in.   However,  if you make a huge mistake, the |nUNFORMAT|n
  459. command will leave you better off than you were  even if it isn't able to
  460.                       <page down> for more UNFORMAT
  461. completely recover everything.
  462.  
  463. And don't dilly-dally around, between the time you make the horrible mis-
  464. take and the time you get busy and decide to use |nUNFORMAT|n.  If it's going
  465. to be done, it needs to be done right away.   Anything you do between the
  466. mistake and the |nUNFORMAT|n  could overwrite the data  that you're hoping to
  467. recover.   And data that has had more data written on top of it can never
  468. be recovered.  Don't forget that an awful lot of DOS operations, like any
  469. use of the || symbol  or the DOSSHELL for example,  writes temporary files
  470. to the disk that you might not  be aware of.   Just because  you have not
  471. personally written anything  to the disk since the mistake,  doesn't mean
  472. that DOS hasn't done so.   The longer you wait before using |nUNFORMAT|n, the
  473. greater the chance  that the data will be overwritten  before you can re-
  474. cover it.
  475.  
  476. Here's the syntax for this command:
  477.           |nUNFORMAT|n D: /J /L /P /PARTN /TEST
  478. where D: is, of course, the drive which holds the disk you want to fix.
  479.  
  480.                       <page down> for more UNFORMAT
  481. The /J switch  just tells |nUNFORMAT|n to check to see  whether there are any
  482. |nMIRROR|n.FIL and |nMIRROR|n.BAK files on the disk, and that they don't disagree
  483. with the system information.  You don't use any other switches along with
  484. this one!   When it's done,  then you redo the |nUNFORMAT|n command with some
  485. other switches instead of this one.   The |nUNFORMAT|n /J command doesn't fix
  486. anything, or write anything to the disk.
  487.  
  488. The /L switch does not use the MIRROR files to help rebuild the drive in-
  489. formation.  It just does its best with what's left of the directory.
  490.  
  491. The /P switch  makes |nUNFORMAT|n send all the data that would normally go to
  492. the screen, to the LPT1 printer port instead.  You don't need this at all
  493. if you have MIRROR files on the disk; only if you're using the /L switch.
  494.  
  495. The /PARTN switch is what makes |nUNFORMAT|n restore the partition table that
  496. you had saved to a floppy disk ages ago  with the  MIRROR /PARTN command.
  497. You don't use any other switches  along with this switch except maybe the
  498. /L switch which, when used with /PARTN, displays the partition table that
  499. it's restoring.   When |nUNFORMAT|n /PARTN is done,  you will have to  reboot
  500.                       <page down> for more UNFORMAT
  501. from a floppy disk  and then use  |nUNFORMAT|n to restore  your directory and
  502. FAT.
  503.  
  504. The /TEST switch  causes the |nUNFORMAT|n command  to just pretend  like it's
  505. recovering your disk, and it just shows you what it would be doing if you
  506. had not used this switch,  so that you can decide whether unformatting is
  507. a good idea or not.   The |nUNFORMAT|n /TEST command does not change anything
  508. on the disk.   This is only relevant if you haven't been using the MIRROR
  509. command,  or if you |sreboot|sed twice  since the damage occurred,  or if you
  510. |sreboot|sed once and ran the FORMAT command once,  so that both of your MIR-
  511. ROR files are trash as well.
  512.  
  513. As long as a disk was not formatted with the /U switch, then |nUNFORMAT|n can
  514. put it back  to the way it was  just before it was formatted.   If the /U
  515. switch was used with the FORMAT command, but if MIRROR had also been used
  516. on that disk before, then |nUNFORMAT|n still has a chance, though not a great
  517. one.   And if it does anything in this case, it'll be putting things back
  518. to the way they were at the time you last used the MIRROR command, so any
  519. new files you have created since then will be lost,  and any files you've
  520.                       <page down> for more UNFORMAT
  521. edited since then may also be lost.
  522.  
  523. If you delete all the files in your root directory, don't use |nUNFORMAT|n to
  524. get them back unless you already tried UNDELETE and that didn't work.
  525.  
  526. If you use  the |nUNFORMAT|n command  without the /L switch,  the MIRROR file
  527. will be used to help reconstruct the data.   First |nUNFORMAT|n will show you
  528. the date and time of the two MIRROR files (if the /1 switch was used with
  529. the MIRROR command,  or if MIRROR  has only been used  once on that disk,
  530. there will only be one file from which to choose)  and ask if you want to
  531. use the Latest one or the Previous one.   If you have |sreboot|sed the compu-
  532. ter with  the MIRROR command  in your  AUTOEXEC.BAT file,  or if you have
  533. formatted a corrupted disk,  or in any way used  the MIRROR command since
  534. the disaster happened,  say P.   Otherwise, say L.   If it's on a floppy,
  535. it's a  really good idea  to make two |sDISKCOPY|ss  of the disk  and try one
  536. method on each of them; the Latest MIRROR file, the Previous MIRROR file,
  537. and the |nUNFORMAT|n /L method.  That way you have the greatest chance of re-
  538. covering the data, even if you make the wrong decision as to which method
  539. to use, because you have chosen all methods.   It's too bad you can't use
  540.                       <page down> for more UNFORMAT
  541. DISKCOPY with a hard disk so that you could do the same thing.
  542.  
  543. If the disaster  from which you want to recover  was caused  by something
  544. other than DOS version 5's safe FORMAT command, and you've never used the
  545. MIRROR command  on that disk,  or if the MIRROR file  on the disk is very
  546. old, or if the MIRROR file was created or updated after the disaster hap-
  547. pened, then you'll need to try the |nUNFORMAT|n /L command.  This method will
  548. try to recover  whatever it can  from the directory entries  on the disk.
  549. You will definitely want  to only use this command  on a DISKCOPY  of the
  550. original disaster-disk.  It may or may not help.   If you do it on a copy
  551. of the disk,  then if it doesn't work  you still have  the original,  and
  552. maybe some utility package  such as the Norton Utilities might be able to
  553. do a better job of recovery.  But if you try |nUNFORMAT|n on the only copy of
  554. the disaster-disk, and it doesn't work,  then it's too late for Norton to
  555. be able to help.
  556.  
  557. If |nUNFORMAT|n /L  finds a file that is fragmented,  it will ask you whether
  558. it should truncate the file  (cut it off at the end  of the last contigu-
  559. ous |scluster|s)  or delete it  (so that you can try to  manually undelete it
  560.                       <page down> for more UNFORMAT
  561. with a utility  such as PC Tools  or the Norton  Utilities).   Unless you
  562. know an awful lot  about manual undeletion,  you won't be able to do any-
  563. thing with it so go ahead and say  Truncate so that at least you get part
  564. of the file back.  Of course this only applies to data files.  Executable
  565. files aren't a bit useful if they've been truncated!
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.                     <page down> for The |nXCOPY|n Command
  581.                             The |tXCOPY|t Command
  582.  
  583. Oh,  what a useful command,  if you have DOS version 3.2 or higher!   The
  584. COPY command  reads one file  from the source,  writes it  to the target,
  585. goes back to the source to read the next file,  etc.   But |nXCOPY|n reads as
  586. many of the source files  as can fit into the available RAM,  writes them
  587. to the target,  and then goes back  to get a bunch more  from the source.
  588. It's so much faster!   And it also has a whole bunch of switches that can
  589. make it do all sorts of things!  (It can't copy Hidden files, though.)
  590.  
  591. Well, here is XCOPY's syntax:
  592.            |nXCOPY|n D:\DIR\FILENAME.EXT D:\DIR\ /A /D:|nDATE|n /E /M /P /S /V /W
  593. where D:\DIR\FILENAME.EXT  is the files you want to copy,  and it can use
  594. wildcards of course,  or if you want to copy all the files in that direc-
  595. tory,  you can just say D:\DIR instead.   The second D:\DIR\ is the drive
  596. and directory you want to copy the files to.  If you leave that part out,
  597. |nXCOPY|n will bring the source files  to the current directory.   If D:\DIR\
  598. doesn't exist,  |nXCOPY|n will create it,  but if you don't include that last
  599. backslash,  |nXCOPY|n will ask you  whether you want D:\DIR to be a file or a
  600.                         <page down> for more XCOPY
  601. directory.  If you're copying more than one file, then of course you want
  602. D:\DIR to be a directory, rather than a file.
  603.  
  604. The /A switch tells |nXCOPY|n to only copy  the files that have their Archive
  605. attributes turned on.  That means files that have been changed or created
  606. since the last time a program that resets the A attribute was used.  (All
  607. BACKUP programs reset the A attribute when they handle files.)   But when
  608. the /A switch is used,  |nXCOPY|n leaves that A attribute turned on when it's
  609. done.
  610.  
  611. The /D:|nDATE|n switch tells |nXCOPY|n  to only copy the files that were last up-
  612. dated on or after |nDATE|n.  For example |nXCOPY|n C:\SIMPLY A:\ /D:07-05-91 will
  613. only copy files whose date in the directory listing is 7/5/91 or later.
  614.  
  615. The /E switch can only be used if the /S switch is used too, and it tells
  616. |nXCOPY|n to create directories on the target disk  just as they exist on the
  617. source disk,  even if there are no files in that directory on the source.
  618.  
  619. The /M switch  is just like  that /A switch,  except that  when the /M is
  620.                         <page down> for more XCOPY
  621. used,  |nXCOPY|n turns off the A attribute for each file it copies!   Oh, how
  622. useful this is!   Of course it's great  for an alternative  to the BACKUP
  623. command,  but it has an even better use.   Have you ever  tried to copy a
  624. bunch of files to floppy,  and there wasn't enough room on the floppy for
  625. all the files,  and the COPY  or |nXCOPY|n command  just stopped  dead in its
  626. tracks  and said  "|tInsufficient disk space|t"?   Then you had  to see which
  627. files did make it to the floppy,  and copy each of the rest  of the files
  628. separately.   Didn't you  just hate that?   Well you never  have to do it
  629. again.  Here's what you want to do.   First, look and see which files al-
  630. ready have their A attribute set.  You need to know this, so that you can
  631. put them back the same way when this is done, so that your backup program
  632. will know which files  need to be backed up.   The command  ATTRIB *.* /S
  633. will show you all the files in the current directory and its subdirector-
  634. ies,  and there will be an A  to the left of each file  that has an A at-
  635. tribute.   (If you have DOS version 5,  then the DIR command  with the /A
  636. switch will do this for you  even easier.   Just use  DIR /AA  to see the
  637. files that have an A,  or do DIR /A-A  to see the ones that don't.)   Now
  638. keep track  of the results  of that command,  for later.   Step two is to
  639. give A attributes to all the files  you want to copy,  and take A attrib-
  640.                         <page down> for more XCOPY
  641. utes away from files that you don't want to copy.  Use the ATTRIB command
  642. to do that.  Step three is to issue the |nXCOPY|n command, with the /M switch
  643. (and /S and /E if you want) and |nXCOPY|n will copy all the files that have A
  644. attributes, and reset the A attribute for each file that it copies.   Now
  645. when the disk is full, |nXCOPY|n will stop and say "|sInsufficient disk space|s",
  646. but that's ok.   Just put in  a fresh disk  and use the <F3> key to issue
  647. the exact same |nXCOPY|n  command again.   Now since the /M switch turned off
  648. the A attribute  for each file  that it already copied,  |nXCOPY|n will start
  649. copying  right where  it left off.   When |nXCOPY|n  gives you back  your DOS
  650. prompt without saying "|sInsufficient disk space|s",  then all your files are
  651. copied.   Now use the ATTRIB command to put the A attributes back the way
  652. they were, and you're all set.   This is not nearly  as complicated as it
  653. sounds  from the description,  so once you've tried it,  next time you'll
  654. probably remember the whole process without even reading this again.   Of
  655. course, if the whole reason you're doing this is for backup purposes, you
  656. don't want  to put the A attributes  back the way  they were  when you're
  657. done; you want them all to stay turned off.
  658.  
  659. The /P switch tells |nXCOPY|n to stop and ask you,  before copying each file.
  660.                         <page down> for more XCOPY
  661. That's good for in case you want to copy almost all the files in a direc-
  662. tory, or almost all the files that match a particular wildcard specifica-
  663. tion, or almost all the files that have a later date than the |nDATE|n in the
  664. /D switch, or almost all of whatever.
  665.  
  666. The /S switch makes |nXCOPY|n copy  all the files in the specified directory,
  667. and all the files in all of its subdirectories.  If the subdirectories by
  668. those names don't already exist as branches off the specified target dir-
  669. ectory,  then |nXCOPY|n will create them,  as long as there are  files inside
  670. them.   If you want |nXCOPY|n  to create subdirectories  that don't have  any
  671. files in them, then you want to use the /E switch along with the /S.
  672.  
  673. The /V switch makes |nXCOPY|n do the same worthless sort of verification that
  674. the VERIFY command does.  Don't bother.  Use the COMP or FC command after
  675. you make the copy instead of using this switch, if you want to verify it.
  676.  
  677. And the /W switch makes |nXCOPY|n wait for a keystroke before it starts copy-
  678. ing.  This is good if your |nXCOPY|n.EXE file is on a floppy disk that is not
  679. the same disk you want to copy files from.  You put the |nXCOPY|n.EXE disk in
  680.                         <page down> for more XCOPY
  681. the drive  and issue the command  including the /W switch,  DOS reads the
  682. |nXCOPY|n command code into memory,  and then you can take out the  |nXCOPY|n.EXE
  683. disk and put in the source disk instead,  and then |nXCOPY|n will start read-
  684. ing the files you want to copy.
  685.  
  686. Of course,  not even  the wonderful |nXCOPY|n command  can do anything with a
  687. file that's too big to fit all on one floppy disk.  For that you need the
  688. BACKUP command,  and then you'll need  the RESTORE command  from the same
  689. DOS version to be able to read that backup file later.
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.                    <page down> for The |nEXE2BIN|n Command
  701.                            The |TEXE2BIN|T Command
  702.  
  703. This is a command you're not going to need for quite some time,  if ever.
  704. If you don't already know what it is,  then you may as well erase it from
  705. your hard drive to save space.  It converts .EXE files to .COM files, and
  706. that is not  anything you're  ever going  to want to do  unless  you're a
  707. software developer.   Don't even think about  trying it out  just for the
  708. heck of it,  because it won't work properly  until the .EXE file has been
  709. formatted in a certain way.
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.                   <page down> for The |nAUTOEXEC.BAT|n File
  721.                           The |tAUTOEXEC.BAT|t File
  722.  
  723. The |nAUTOEXEC.BAT|n is a very special batch file.   As long as it is located
  724. in the root directory of the boo|1t disk,  it will automatically be read by
  725. COMMAND.COM every time you restart your system.  (Exception:  If there is
  726. a SHELL statement in CONFIG.SYS,  that does not have the /P switch,  then
  727. |nAUTOEXEC.BAT|n  will not be run  after all.)   This file should contain any
  728. commands that you want to have executed with each reboot.
  729.  
  730. If you load  a TSR  from |nAUTOEXEC.BAT|n,  it should always  come earlier in
  731. the file than any PATH, SET, or PROMPT statements, if possible.   This is
  732. because every program,  including |sTSR|ss,  that runs under DOS gets its own
  733. copy of the environment.  The commands PATH, SET, and PROMPT put variable
  734. strings  into the environment.   Therefore,  if any of these commands are
  735. used before the |sTSR|ss are loaded,  the |sTSR|s's copy of the environment  uses
  736. more RAM than is needed.
  737.  
  738. The only trouble with placing the PATH statement near the end of AUTOEXEC
  739. .BAT, though, is that DOS won't be able to find the command files for the
  740.                     <page down> for more AUTOEXEC.BAT
  741. commands issued from the |nAUTOEXEC.BAT|n  unless the full file specification
  742. for each command  is listed on the command line  of the batch file.   For
  743. example, to load a screen saver called EXPLOSIV into memory,  the command
  744. would usually be simply EXPLOSIV if the directory containing the EXPLOSIV
  745. .COM file is listed on the PATH variable  in the environment.   But since
  746. the PATH variable has not yet been set,  the command must instead read as
  747. follows:
  748.           C:\UTIL\EXPLOSIV
  749. That is providing the EXPLOSIV.COM file is located in the \UTIL directory
  750. of the C: drive.   That way,  DOS knows exactly where to find the command
  751. file, even without the PATH variable.  Sure, it's a little more typing to
  752. do,  but that's not a problem,  since you only need  to type this command
  753. once, when you first create your |nAUTOEXEC.BAT|n file.
  754.  
  755. If there is  no |nAUTOEXEC.BAT|n file  located in  the root directory  of the
  756. boo|1t disk,  then DOS will |nprompt|n you  for the date  and time  during each
  757. |sboot|sup,  just as if you did have an |nAUTOEXEC.BAT|n file that contained just
  758. the DATE and TIME commands.
  759.  
  760.                     <page down> for more AUTOEXEC.BAT
  761. One thing you do not want to do,  if there are any |sTSR|ss  loaded from your
  762. |nAUTOEXEC.BAT|n, or if you're not sure, and there might possibly be any |sTSR|ss
  763. in there,  is execute this file from the DOS prompt  by entering AUTOEXEC
  764. as a command.   The reason is that any |sTSR|ss that are listed in there have
  765. already been  loaded into memory,  while you |sboot|sed the computer,  and so
  766. executing |nAUTOEXEC.BAT|n again without |sreboot|sing,  would load a second copy
  767. of those |sTSR|ss  into memory.   Well some |sTSR|ss  realize when they're  being
  768. loaded a second time, and just won't go for it.  That's fine.  Other |sTSR|ss
  769. just go ahead and load a second copy.   That won't hurt anything,  neces-
  770. sarily, but it sure would be a waste of memory.  But other |sTSR|ss, when you
  771. try to load them twice,  will lock up the whole computer.   Don't execute
  772. AUTOEXEC manually unless you're positive there are no |sTSR|ss in it.   So if
  773. you make a change to this file, and want to see how it works, just reboot
  774. the computer.   But have a boo|1t disk handy first,  in case the change you
  775. made was a mistake that locks up the system.
  776.  
  777.  
  778.  
  779.  
  780.                      <page down> for The |nCLS|n Command
  781.                              The |TCLS|T Command
  782.  
  783. This is the easiest  DOS command there is.   It CLears the Screen  of any
  784. data that might be on it,  and puts the prompt  and the cursor  up in the
  785. top left corner  (called the "home" position).   No parameters, no syntax
  786. to learn, just |nCLS|n.
  787.  
  788. It's used  mostly in a batch file,  to clear up  any unnecessary messages
  789. that may have been left  on the screen.   It's also needed  in many cases
  790. if you're using the PROMPT command  with ANSI.SYS ESC sequences to change
  791. your screen colors.   Because a new ANSI color changing command  does not
  792. affect the whole screen,  only whatever gets put on the screen  after the
  793. command is issued.  Also a lot of programs will reset your screen to some
  794. other colors,  so your chosen colors are gone  when you exit from such an
  795. application.  In many cases a simple |nCLS|n command will bring them back.
  796.  
  797. If ANSI.SYS  is installed,  |nCLS|n works  by sending  ESC[2J  to the screen.
  798. This is the ANSI command  that clears the screen.   If for any reason you
  799. can't get the |nCLS|n command to work,  try installing ANSI.SYS with a DEVIC|1E
  800.                          <page down> for more CLS
  801. command in your CONFIG.SYS file.
  802.  
  803. One interesting tidbit of information,  about the fact that DOS sends the
  804. ANSI.SYS ESC sequence 2J  to the screen in order to execute this command,
  805. is that it's  an easy way to get the  ESC character into a file,  for use
  806. in your own ANSI ESC sequences.   If you enter the command |nCLS|n > FILE.TXT
  807. (see also |sRedirection|s)  then instead of the screen clearing,  a file will
  808. be created that says ESC[2J only instead of ESC, it will actually contain
  809. the ESC character, which looks like a little arrow.  Now you can edit the
  810. file to replace the 2J with whatever ANSI ESC command you want.
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.                     <page down> for The |nSETVER|n Command
  821.                             The |TSETVER|T Command
  822.  
  823. This command is new to DOS version 5,  and it is used  to lie to programs
  824. about what DOS version you are running.   You see, many programs,  as you
  825. load them,  the first thing they do is ask the operating system what ver-
  826. sion it is.  Well, programs that were written to accept an answer of any-
  827. thing higher than X will run just fine under DOS 5.   But some silly pro-
  828. grammers told their program to accept an answer of version X through ver-
  829. sion Y instead.   And since a program like this  was written before there
  830. ever was  a DOS version 5,  it won't accept the answer of  MS-DOS 5.00 at
  831. all.   The program is going to say "|tIncorrect DOS version|t", and refuse to
  832. load into memory.   Even if the program is perfectly compatible with ver-
  833. sion 5, it won't run just because of a silly version number report.  Well
  834. Microsoft thought of a neat little way to get around this problem.  First
  835. call the publisher of the program  that's giving you that  "Incorrect DOS
  836. version"  error message,  and ask them if the program  is compatible with
  837. DOS 5.   If they say ok,  then you can use the |nSETVER|n command to tell the
  838. program that  you're not running  DOS 5.00 after all.   First you have to
  839. have |nSETVER|n.EXE loaded into memory as a device driver.  To do that, if it
  840.                        <page down> for more SETVER
  841. hasn't already been done,  just put this line  into your CONFIG.SYS file:
  842. |sDEVIC|1E|s=C:\DOS\SETVER.EXE  (or |sDEVICEHIGH|s)  and just like any other change
  843. you make to the CONFIG.SYS file,  you have to reboot  to make it take ef-
  844. fect.   (And of course, that sample command  assumes that your |nSETVER|n.EXE
  845. file is located  in the DOS directory  of your C: drive.)   Now, you just
  846. issue a command like this:
  847.           |nSETVER|n C:\DOS WP.EXE 3.3
  848. That is assuming that your |nSETVER|n.EXE file is located in your C:\DOS dir-
  849. ectory and that  the name of the program  that's giving you trouble is WP
  850. .EXE and 3.3 is a DOS version  under which that program used to run  just
  851. fine.   Now after  you give  that command,  |nSETVER|n is going  to display a
  852. warning message  about how Microsoft  is not responsible for anything bad
  853. that could happen  if you use this command.   But you already  called the
  854. publisher of the WP.EXE program, right?   And they told you  it was ok to
  855. do this, so don't worry about that message.  Now, you just have to reboot
  856. one more time  to make this version number change thing take effect,  and
  857. from then on, whenever you try to load that program into memory, DOS will
  858. lie to it and tell it that you're running DOS version 3.3, and the WP.EXE
  859. program will be perfectly happy.
  860.                        <page down> for more SETVER
  861. There are already some version-number lies automatically installed in the
  862. |nSETVER|n.EXE program,  the way it comes from Microsoft.   To see what those
  863. are, just type |nSETVER|n C:\DOS <Enter>.  If you don't run any of those pro-
  864. grams,  you can remove their entries from the |nSETVER|n table,  using the /D
  865. switch of the |nSETVER|n command, like this:
  866.           |nSETVER|n C:\DOS WP.EXE /D /QUIET
  867. The /DELETE or /D switch  tells DOS to remove  that particular entry from
  868. the |nSETVER|n version table, and the /QUIET switch tells DOS to suppress the
  869. display  of the message  that it usually displays  when removing an entry
  870. from the table.   Removing unneeded entries from the table will cause the
  871. version table to take up a little bit less memory next time you reboot.
  872.  
  873. Later,  if you want to change  the version number that you told |nSETVER|n to
  874. report to a particular program,  just issue the same |nSETVER|n command again
  875. with the different version number.  It won't waste any memory by using up
  876. another entry in the table or anything.   The new entry for that filename
  877. will just replace the old one that's already in the table.
  878.  
  879. Now the |nSETVER|n command  does make a permanent change to the version table
  880.                        <page down> for more SETVER
  881. that it keeps inside itself.   So you only have to give the command once,
  882. not every time you reboot or anything.  |nSETVER|n will keep on lying to that
  883. program every time you execute the program,  forever and ever, as long as
  884. you keep the |nSETVER|n.EXE DEVIC|1E command line in your CONFIG.SYS file.
  885.  
  886. If you're installing a new program that tells you "|sIncorrect DOS version|s"
  887. and you fix it with |nSETVER|n and then it installs ok,  try running the pro-
  888. gram without |nSETVER|n  and see what happens.   It's possible that it's only
  889. the installation program that checks for the DOS version.  Maybe the pro-
  890. gram itself never checks again  because it just assumes that you're still
  891. running  the same DOS version  you were running  when you installed.   If
  892. that's the case,  the program will work fine without |nSETVER|n and you won't
  893. have to use that device driver all the time after all.   It only takes up
  894. a very tiny amount of memory, but hey, every bit counts.
  895.  
  896. If you are not using any of the programs that already have  pre-installed
  897. lies in  the version table,  and you're not planning  to get any of them,
  898. and you have tried all your programs under the new DOS,  and none of them
  899. need the |nSETVER|n lies,  then you don't need to leave the |nSETVER|n.EXE device
  900.                        <page down> for more SETVER
  901. driver installed  in your CONFIG.SYS file  like the DOS 5.0  installation
  902. program put it there.   All it's doing is wasting memory if you don't run
  903. any applications that need it.
  904.  
  905. The message "|sIncorrect DOS version|s"  will also happen any time you try to
  906. execute a DOS command  from one version,  after |sboot|sing from  a different
  907. DOS version.   Most DOS commands are only supposed to run under their own
  908. version, so if you've |sboot|sed with something else, the command is going to
  909. quit on you.   Find your copy  of that command,  that belongs to  the DOS
  910. version you |sboot|sed from,  and use it  instead of the copy  from the wrong
  911. version.
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.                      <page down> for What is the FAT?
  921.                              What is the |TFAT|T?
  922.  
  923. Well, it's only the single most important part of a disk.  |nFAT|n stands for
  924. File Allocation Table.   You know how a book has  a table of contents and
  925. an index?   Well if your two-year-old nephew ripped the table of contents
  926. and index out of a book,  you would still be able to read the information
  927. in the book.   You'd just have to page through it and look at the chapter
  928. titles and stuff.   Well DOS isn't that smart.   If DOS can't look in the
  929. index and see the page number it wants to turn to, it won't even consider
  930. thinking about trying to find any information.  It just won't even try.
  931.  
  932. Well  the root directory  of a disk  is like the table  of contents  of a
  933. book.   It tells DOS what the first page number  (|scluster|s number) of each
  934. chapter (file) is.   But the |nFAT|n  is even more important than that.   Be-
  935. cause files get fragmented.  That means one fragment of a file gets stuck
  936. over here on the disk,  and another part of the file  gets put over there
  937. on the disk.   It's not like a book, where all the pages of a chapter are
  938. in the same place, one right after the other.   Well DOS needs to look in
  939. the index (FAT) of the book (disk)  to see where all the other references
  940.                          <page down> for more FAT
  941. to that chapter (file) are at on the disk.
  942.  
  943. The directory entry for a particular file includes the cluster number for
  944. the first cluster of that file.  Now the |nFAT|n entry for that cluster tells
  945. the number  of the next cluster of the file.   And the |nFAT|n entry for that
  946. next cluster tells the number for the next cluster after that.  And even-
  947. tually  one of the |nFAT|n entries  will be the one  that contains  a special
  948. character that says it's the last cluster of that file.
  949.  
  950. Well that's just about all you really need to know about the |nFAT|n.   With-
  951. out it,  DOS won't even make an attempt to find your files on your disks.
  952. The |nFAT|n is so important that  DOS keeps two identical copies of it,  just
  953. to be on the safe side.
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.                    <page down> for The |nFASTOPEN|n Command
  961.                            The |TFASTOPEN|T Command
  962.  
  963. I would not recommend this command to my worst enemy.   It's sort of like
  964. a tiny disk cache, only not nearly as well-behaved.   Get yourself a disk
  965. cache and get rid of this command.
  966.  
  967. Well,  what it does is,  it stores parts of the directory entries and FAT
  968. that you have  already accessed,  in RAM which is fast,  so that the next
  969. time you need to access  those same parts,  you can get them  from memory
  970. instead of  from the slow  hard disk.   Yes,  that's exactly what a cache
  971. does,  only the cache does FAT and directory entries, and all other types
  972. of disk information as well.  And the cache does it less dangerously.
  973.  
  974. Well, I guess it would be  pretty silly of me to tell you  the syntax for
  975. this command after I just got done telling you not to use it, huh?   So I
  976. guess I won't.
  977.  
  978.  
  979.  
  980.                     For beginning of File 2, see Batch
  981. |tBatch|t|fSIMPLY2|f
  982. |TCALL|T|fSIMPLY2|f
  983. |TECHO|T|fSIMPLY2|f
  984. |TERRORLEVEL|T|fSIMPLY2|f
  985. |TEXIST|T|fSIMPLY2|f
  986. |tfilter|t|fSIMPLY2|f
  987. |TFIND|T|fSIMPLY2|f
  988. |TFOR|T|fSIMPLY2|f
  989. |TGOTO|T|fSIMPLY2|f
  990. |TIF|T|fSIMPLY2|f
  991. |TMORE|T|fSIMPLY2|f
  992. |TNOT|T|fSIMPLY2|f
  993. |TPAUSE|T|fSIMPLY2|f
  994. |tpiping|t|fSIMPLY2|f
  995. |tRedirection|t|fSIMPLY2|f
  996. |TREM|T|fSIMPLY2|f
  997. |TSHIFT|T|fSIMPLY2|f
  998. |TSORT|T|fSIMPLY2|f
  999. |TTEMP|T|fSIMPLY2|f
  1000. |T286|T|fSIMPLY3|f
  1001. |T386|T|fSIMPLY3|f
  1002. |T8088|T|fSIMPLY3|f
  1003. |TAT|T|fSIMPLY3|f
  1004. |TBIOS|T|fSIMPLY3|f
  1005. |tBytes|t|fSIMPLY3|f
  1006. |tCache|t|fSIMPLY3|f
  1007. |TCMOS|T|fSIMPLY3|f
  1008. |tConventional|t|fSIMPLY3|f
  1009. |TCPU|T|fSIMPLY3|f
  1010. |tDEVICEHIGH|t|fSIMPLY3|f
  1011. |TDO|1S|T|fSIMPLY3|f
  1012. |TEMM386|T|fSIMPLY3|f
  1013. |TEMS|T|fSIMPLY3|f
  1014. |tExpanded|t|fSIMPLY3|f
  1015. |teXtended|t|fSIMPLY3|f
  1016. |tHig|1h|t|fSIMPLY3|f
  1017. |tHIMEM.SYS|t|fSIMPLY3|f
  1018. |tHMA|t|fSIMPLY3|f
  1019. |tkernel|t|fSIMPLY3|f
  1020. |tLH|t|fSIMPLY3|f
  1021. |TLIM|T|fSIMPLY3|f
  1022. |tLOADFIX|t|fSIMPLY3|f
  1023. |tLOADHIGH|t|fSIMPLY3|f
  1024. |tmedia|t|fSIMPLY3|f
  1025. |tMemory|t|fSIMPLY3|f
  1026. |TMEM|T|fSIMPLY3|f
  1027. |TMODE|T|fSIMPLY3|f
  1028. |tPacked file corrupt|t|fSIMPLY3|f
  1029. |TPRINT|T|fSIMPLY3|f
  1030. |tProtected Mode|t|fSIMPLY3|f
  1031. |tqueue|t|fSIMPLY3|f
  1032. |tRAMdisk|t|fSIMPLY3|f
  1033. |tRAMDRIVE.SYS|t|fSIMPLY3|f
  1034. |TRAM|T|fSIMPLY3|f
  1035. |tReal Mode|t|fSIMPLY3|f
  1036. |TRECOVER|T|fSIMPLY3|f
  1037. |TREPLACE|T|fSIMPLY3|f
  1038. |treserved|t|fSIMPLY3|f
  1039. |TRESTORE|T|fSIMPLY3|f
  1040. |TROM|T|fSIMPLY3|f
  1041. |tSector not found|t|fSIMPLY3|f
  1042. |TSELECT|T|fSIMPLY3|f
  1043. |tsetup|t|fSIMPLY3|f
  1044. |tShadow|t|fSIMPLY3|f
  1045. |TSHARE|T|fSIMPLY3|f
  1046. |tSMARTDRV.SYS|t|fSIMPLY3|f
  1047. |tspooler|t|fSIMPLY3|f
  1048. |TSUBST|T|fSIMPLY3|f
  1049. |TTREE|T|fSIMPLY3|f
  1050. |tTSR|t|fSIMPLY3|f
  1051. |TUMB|T|fSIMPLY3|f
  1052. |tUpper|t|fSIMPLY3|f
  1053. |tVDISK.SYS|t|fSIMPLY3|f
  1054. |tVirtual Disk|t|fSIMPLY3|f
  1055. |TXMS|T|fSIMPLY3|f
  1056. |TXT|T|fSIMPLY3|f
  1057. |tANSI.SYS|t|fSIMPLY4|f
  1058. |tbad sector|t|fSIMPLY4|f
  1059. |TBREAK|T|fSIMPLY4|f
  1060. |TBUFFERS|T|fSIMPLY4|f
  1061. |TCOMSPEC|T|fSIMPLY4|f
  1062. |tCONFIG.SYS|t|fSIMPLY4|f
  1063. |tDevice Driver|t|fSIMPLY4|f
  1064. |TDEVIC|1E|T|fSIMPLY4|f
  1065. |tDRIVER.SYS|t|fSIMPLY4|f
  1066. |TDRIVPARM|T|fSIMPLY4|f
  1067. |tEnvironment|t|fSIMPLY4|f
  1068. |TEXPAND|T|fSIMPLY4|f
  1069. |TFCBS|T|fSIMPLY4|f
  1070. |TFDISK|T|fSIMPLY4|f
  1071. |TFILES|T|fSIMPLY4|f
  1072. |tfloppy|t|fSIMPLY4|f
  1073. |TFORMAT|T|fSIMPLY4|f
  1074. |TGRAPHICS|T|fSIMPLY4|f
  1075. |thandles|t|fSIMPLY4|f
  1076. |THELP|T|fSIMPLY4|f
  1077. |tIBMBIO.COM|t|fSIMPLY4|f
  1078. |tIBMDOS.COM|t|fSIMPLY4|f
  1079. |TINSTALL|T|fSIMPLY4|f
  1080. |tinterrupt|t|fSIMPLY4|f
  1081. |tInvalid COMMAND.COM|t|fSIMPLY4|f
  1082. |tIO.SYS|t|fSIMPLY4|f
  1083. |TJOIN|T|fSIMPLY4|f
  1084. |TLABEL|T|fSIMPLY4|f
  1085. |TLASTDRIVE|T|fSIMPLY4|f
  1086. |tLogical Drives|t|fSIMPLY4|f
  1087. |tmacros|t|fSIMPLY4|f
  1088. |TMIRROR|T|fSIMPLY4|f
  1089. |tMSDOS.SYS|t|fSIMPLY4|f
  1090. |tpartition|t|fSIMPLY4|f
  1091. |tPATH|t|fSIMPLY4|f
  1092. |tPROMPT|t|fSIMPLY4|f
  1093. |TSET|T|fSIMPLY4|f
  1094. |TSHELL|T|fSIMPLY4|f
  1095. |TSTACKS|T|fSIMPLY4|f
  1096. |TSWITCHAR|T|fSIMPLY4|f
  1097. |TSWITCHES|T|fSIMPLY4|f
  1098. |tTrack 0 bad|t|fSIMPLY4|f
  1099. |tvolume|t|fSIMPLY4|f
  1100. |T". and .."|T|fSIMPLY5|f
  1101. |TA|1:|T|fSIMPLY5|f
  1102. |TAUX|T|fSIMPLY5|f
  1103. |tBad command or filename|t|fSIMPLY5|f
  1104. |TC|1:|T|fSIMPLY5|f
  1105. |TCD|T|fSIMPLY5|f
  1106. |TCHCP|T|fSIMPLY5|f
  1107. |TCHDIR|T|fSIMPLY5|f
  1108. |tchecksum|t|fSIMPLY5|f
  1109. |TCLOCK$|T|fSIMPLY5|f
  1110. |tCode Page|t|fSIMPLY5|f
  1111. |TCOM1|T|fSIMPLY5|f
  1112. |tCOMMAND.COM|t|fSIMPLY5|f
  1113. |TCOMMAN|1D|T|fSIMPLY5|f
  1114. |tconcatenation|t|fSIMPLY5|f
  1115. |TCON|T|fSIMPLY5|f
  1116. |TCOPY|T|fSIMPLY5|f
  1117. |TCOUNTRY|T|fSIMPLY5|f
  1118. |TCTTY|T|fSIMPLY5|f
  1119. |tcurrent|t|fSIMPLY5|f
  1120. |TDATE|T|fSIMPLY5|f
  1121. |tdefault|t|fSIMPLY5|f
  1122. |TDEL|T|fSIMPLY5|f
  1123. |tDevice|1s|t|fSIMPLY5|f
  1124. |TDIRCMD|T|fSIMPLY5|f
  1125. |tDirectory|t|fSIMPLY5|f
  1126. |TDIR|T|fSIMPLY5|f
  1127. |TERASE|T|fSIMPLY5|f
  1128. |tExecutable|t|fSIMPLY5|f
  1129. |TEXIT|T|fSIMPLY5|f
  1130. |texternal|t|fSIMPLY5|f
  1131. |TGRAFTABL|T|fSIMPLY5|f
  1132. |tinternal|t|fSIMPLY5|f
  1133. |TKEYB|T|fSIMPLY5|f
  1134. |TLPT1|T|fSIMPLY5|f
  1135. |TMD|T|fSIMPLY5|f
  1136. |TMKDIR|T|fSIMPLY5|f
  1137. |TNLSFUNC|T|fSIMPLY5|f
  1138. |TNUL|T|fSIMPLY5|f
  1139. |tparent|t|fSIMPLY5|f
  1140. |TPRN|T|fSIMPLY5|f
  1141. |TRD|T|fSIMPLY5|f
  1142. |TRENAME|T|fSIMPLY5|f
  1143. |TREN|T|fSIMPLY5|f
  1144. |TRMDIR|T|fSIMPLY5|f
  1145. |troot|t|fSIMPLY5|f
  1146. |tShelling Out|t|fSIMPLY5|f
  1147. |TTIME|T|fSIMPLY5|f
  1148. |TTRUENAME|T|fSIMPLY5|f
  1149. |TTYPE|T|fSIMPLY5|f
  1150. |TVERIFY|T|fSIMPLY5|f
  1151. |TVER|T|fSIMPLY5|f
  1152. |TVOL|T|fSIMPLY5|f
  1153. |t*.*|t|fSIMPLY6|f
  1154. |tAbort, Retry, Fail, Ignore|t|fSIMPLY6|f
  1155. |tASCII|t|fSIMPLY6|f
  1156. |TBBS|T|fSIMPLY6|f
  1157. |tbinary|t|fSIMPLY6|f
  1158. |tBoot|t|fSIMPLY6|f
  1159. |tBoo|1t Disk|t|fSIMPLY6|f
  1160. |tCleaning|t|fSIMPLY6|f
  1161. |tcluster|t|fSIMPLY6|f
  1162. |tcommercial|t|fSIMPLY6|f
  1163. |tdecimal|t|fSIMPLY6|f
  1164. |tdemo|t|fSIMPLY6|f
  1165. |tdisk full|t|fSIMPLY6|f
  1166. |tDisks|t|fSIMPLY6|f
  1167. |tdownloading|t|fSIMPLY6|f
  1168. |tFile Creation Error|t|fSIMPLY6|f
  1169. |tfreeware|t|fSIMPLY6|f
  1170. |thexadecimal|t|fSIMPLY6|f
  1171. |tKeyboard|t|fSIMPLY6|f
  1172. |tLow-Level|t|fSIMPLY6|f
  1173. |tMagnetism|t|fSIMPLY6|f
  1174. |tNon system disk|t|fSIMPLY6|f
  1175. |tParameters|t|fSIMPLY6|f
  1176. |tPark|t|fSIMPLY6|f
  1177. |TPOST|T|fSIMPLY6|f
  1178. |tPower|t|fSIMPLY6|f
  1179. |tpublic domain|t|fSIMPLY6|f
  1180. |tReboot|t|fSIMPLY6|f
  1181. |tReplaceable|t|fSIMPLY6|f
  1182. |tsector|t|fSIMPLY6|f
  1183. |tShareware|t|fSIMPLY6|f
  1184. |tslack space|t|fSIMPLY6|f
  1185. |TSY|1S|T|fSIMPLY6|f
  1186. |tWildcards|t|fSIMPLY6|f
  1187. |tWrite-protect|t|fSIMPLY6|f
  1188. |tAccess denied|t|fSIMPLY7|f
  1189. |TAPPEND|T|fSIMPLY7|f
  1190. |tArchive|t|fSIMPLY7|f
  1191. |TASSIGN|T|fSIMPLY7|f
  1192. |tAttributes|t|fSIMPLY7|f
  1193. |TATTRIB|T|fSIMPLY7|f
  1194. |TBACKUP|T|fSIMPLY7|f
  1195. |TCHKDSK|T|fSIMPLY7|f
  1196. |TCOMP|T|fSIMPLY7|f
  1197. |TDEBUG|T|fSIMPLY7|f
  1198. |TDISKCOMP|T|fSIMPLY7|f
  1199. |TDISKCOPY|T|fSIMPLY7|f
  1200. |TDOSKEY|T|fSIMPLY7|f
  1201. |TDOSSHELL|T|fSIMPLY7|f
  1202. |tediting keys|t|fSIMPLY7|f
  1203. |TEDIT|T|fSIMPLY7|f
  1204. |TEDLIN|T|fSIMPLY7|f
  1205. |tEGA.SYS|t|fSIMPLY7|f
  1206. |TFC|T|fSIMPLY7|f
  1207. |tfragmented|t|fSIMPLY7|f
  1208. |TGWBASIC|T|fSIMPLY7|f
  1209. |tHidden|t|fSIMPLY7|f
  1210. |toptimizer|t|fSIMPLY7|f
  1211. |toverlay|t|fSIMPLY7|f
  1212. |TQBASIC|T|fSIMPLY7|f
  1213.